package com.hdcx.Minfresh.model;

import java.util.List;

/**
 * Created by Administrator on 2017/2/16.
 */
public class DiYongQuan {
    /**
     * list : [{"id":"38","bonus_name":"生鲜配送抵用券","bonus_value":"10","min_amount":"100","time":"2","score":"1000","color":1}]
     * count : 1
     * userscore : 0
     * status : 1
     * info : 返回成功
     */

    private int count;
    private int userscore;
    private int status;
    private String info;
    /**
     * id : 38
     * bonus_name : 生鲜配送抵用券
     * bonus_value : 10
     * min_amount : 100
     * time : 2
     * score : 1000
     * color : 1
     */

    private List<ListEntity> list;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getUserscore() {
        return userscore;
    }

    public void setUserscore(int userscore) {
        this.userscore = userscore;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<ListEntity> getList() {
        return list;
    }

    public void setList(List<ListEntity> list) {
        this.list = list;
    }

    public static class ListEntity {
        private String id;
        private String bonus_name;
        private String bonus_value;
        private String min_amount;
        private String time;
        private String score;
        private int color;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getBonus_name() {
            return bonus_name;
        }

        public void setBonus_name(String bonus_name) {
            this.bonus_name = bonus_name;
        }

        public String getBonus_value() {
            return bonus_value;
        }

        public void setBonus_value(String bonus_value) {
            this.bonus_value = bonus_value;
        }

        public String getMin_amount() {
            return min_amount;
        }

        public void setMin_amount(String min_amount) {
            this.min_amount = min_amount;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public int getColor() {
            return color;
        }

        public void setColor(int color) {
            this.color = color;
        }
    }
}
